//
//  BHAccount.h
//  xinlangweibo0621
//
//  Created by boldseas on 2017/6/24.
//  Copyright © 2017年 renbohan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BHAccount : NSObject <NSCoding>

//"access_token"
@property(nonatomic, copy) NSString * access_token;
//"expires_in"
@property(nonatomic, copy) NSString *expires_in;
//uid
@property(nonatomic, copy) NSString *uid;
//创建时间
@property(nonatomic, strong) NSDate *created_time;
//用户昵称
@property(nonnull, copy) NSString *name;

+(instancetype)accountWithDict:(NSDictionary *)dict;

@end
